<template>
  <div ref="pluginContainer"></div>
</template>

<script setup lang="ts">
import { ref, onMounted } from 'vue';
import "@/mctp-module/style.css";

const pluginContainer = ref()

onMounted(async () => {
  const plugin = await import("@/mctp-module/index.mjs") // 动态导入插件
  plugin.mount(pluginContainer.value, 'Adjust') // 动态挂载
})
</script>